﻿package jokers{
	import jokers.*;
	
	public class JMChapter {
		public static function initChapter():void{
			switch(JPara.currentCpt){
				case 0:{
					JPara.timer_total = 61;
					JPara.crystalNum = 7;
					
					JPara.m_search.visible = false;
					JPara.m_refresh.visible = false;
					return;
				}
				case 1:{
					JPara.timer_total = 121;
					JPara.crystalNum = 7;
					
					JPara.m_search.visible = false;
					JPara.m_refresh.visible = false;
					
					JPara.toolEnable = "100000000000";
					return;
				}
				case 2:{
					JPara.timer_total = 121;
					JPara.crystalNum = 7;
					
					JPara.m_refresh.visible = false;
					
					JPara.toolEnable = "100000000000";
					return;
				}
				case 3:{
					JPara.timer_total = 181;
					JPara.crystalNum = 7;
					
					JPara.toolEnable = "100000000000";
					return;
				}
			}
		}
		
		public static function run():void{
			switch(JPara.currentCpt){
				case 0:{
					JPara.power = 0;
					return;
				}
			}
		}
	}
	
}
